package au.edu.swin.swinvehicle.vehicle;

/**
 * VehicleManagerRemote interface
 * @version 1.0
 * @author Viet Bui
 * @lastmodify 2009-05-12
 */
import java.util.List;
import javax.ejb.Remote;

@Remote
public interface VehicleManagerRemote {

    public void addVehicle(VehicleDetailedTO to) throws VehicleManagerException;

    public void editVehicle(VehicleDetailedTO to) throws VehicleManagerException;

    public void deleteVehicle(Long id) throws VehicleManagerException;

    public List<VehicleTO> getAllVehicles() throws VehicleManagerException;

    public List<VehicleDetailedTO> getAllDetailedVehicles() throws VehicleManagerException;

    public VehicleDetailedTO getVehicle(Long id) throws VehicleManagerException;
}